package xyz.heyaoshare.core.controller.system.dict.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xyz.heyaoshare.common.entity.bo.PageParam;
import xyz.heyaoshare.core.entity.system.DictType;

import java.io.Serial;
import java.io.Serializable;

import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;

/**
 * 字典数据分页请求对象
 * @author YueHe
 * @version 0.0.1
 * @since 2025/5/9 下午5:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "字典数据分页请求对象")
public class DictDataPageReqVO extends PageParam implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * @see DictType
     */
    @NotNull(message = "字典类型ID不能为空")
    @Schema(description = "字典类型ID", requiredMode = REQUIRED)
    private Long dictTypeId;

}